-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat(nitro): Instrument HTTP Server #19225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: awad/create-nitro-sdk-metadata
Are you sure you want to change the base?
feat(nitro): Instrument HTTP Server #19225
Conversation
Codecov Results 📊Generated by Codecov Action |
Codecov Results 📊✅ 25 passed | ⏭️ 5 skipped | Total: 30 | Pass Rate: 83.33% | Execution Time: 13.58s All tests are passing successfully. Generated by Codecov Action |
size-limit report 📦
|
node-overhead report 🧳Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.
|
23a8b35 to
07ad5a1
Compare
81b555e to
161862d
Compare
6f1a78f to
c3fef9e
Compare
c3fef9e to
6799854
Compare
| import { setServerTimingHeaders } from '../hooks/setServerTimingHeaders'; | ||
|
|
||
| export default definePlugin(nitroApp => { | ||
| // FIXME: Nitro hooks are not typed it seems |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been fixed in nitrojs/nitro#4014
Implements HTTP server instrumentation for both
h3andsrvxby listening to their tracing channel events.h3TC PR: feat: experimental tracing support h3js/h3#1251srvxTC PR: feat: experimental tracing channel support h3js/srvx#141Closes #18123
This PR is part of a stack: